Repeaters for secure local area networks

ABSTRACT

A multiport repeater for a local area network installation has (in addition to its conventional functions) means for storing access rules for the items of equipment connected to it. It reads a portion of each frame, which may be all or part of the destination address segment and/or of the source address segment and/or of the control segment of each incoming data frame, or it could be a frame or protocol identifier incorporated in opening bytes of the data segment. It compares the data that it reads with the stored access rules to determine whether the frame is permitted or not. If not, the repeater modifies the frame which it is in the course of re-transmitting, for example by overwriting it with meaningless digits or by encrypting it. It may also report the source address, destination address and reason for deciding to modify the frame to the network controller.

FIELD OF THE INVENTION

This invention relates to local area networks for providing intercommunication between computers and/or other network connected devices (hereinafter called data termination equipment and abbreviated to DTE). More particularly, it is concerned with networks of the kind in which DTE's are connected (normally via a media attachment Unit (MAU), also called a transceiver) to a common transmission medium such as a coaxial cable, a twisted pair cable or an optical fiber and in which digital repeaters (usually multiport repeaters, MPR's) are used to restore digital signals that have been attenuated or otherwise degraded and to provide for branching when required. The invention includes improved repeaters and the networks in which they are used.

The invention is primarily (but not exclusively) concerned with networks operating Carrier Sense Multiple Access techniques with collision detection (CSMA/CD). The best-known networks of this type are those specified by the International Standards Organization as ISO 8802/3 networks and by Xerox Corporation as "ETHERNET" networks.

In such systems, data is transmitted in frames which have a limited range of lengths and are normally made up of a meaningless preamble (for establishing synchronization), a start-of-frame indicator, a destination address segment, a source address segment, a control segment (indicating, for instance, the frame length), a segment of data (often beginning with a frame or protocol identification) to be transmitted to the DTE identified by the address identification, and a frame check segment for verifying accuracy of transmission.

MPR's repeat frames received on an input port indiscriminately to all their output ports and necessarily (because of delay limits imposed by the network specifications) begin to retransmit before the complete frame has been received.

A local area network as so far described is insecure, in the sense that any DTE can transmit data to any other and that an eavesdropper gaining access to the transmission medium can read all the data.

DISCUSSION OF RELATED ART

In known systems, a measure of security may be achieved by physically subdividing the transmission medium into groups using components called "bridges" which receive and store computer data frames and can then analyze them and determine whether they are authorized frames and if so to which of its output ports they need to be re-transmitted. However, bridges are much more expensive than MPR's and introduce a delay in excess of the frame length.

SUMMARY OF THE INVENTION

The present invention provides repeaters with security features such that in a local area network in which they are used the expense and signal delay inherent in the use of bridges can be avoided, or at least minimized.

In accordance with the invention, a repeater is characterized by having (in addition to whatever known repeater functions are desired) means for storing access rules for the DTE's connected to the repeater; means for reading at least one portion of the frame selected from the destination address segment, the source address segment, the control segment and the frame or protocol identifier (if present) of each incoming data frame and comparing the portion or portions so read with the stored access rules to determine whether the frame is permitted or not; and means for modifying by corrupting or encrypting the frame in retransmission if the repeater determines that the frame is not permitted.

When the portion of the frame selected to be read is in the control segment, it may be the whole segment or it may be only a part of the segment that is relevant to the decision to be made. In most (but not necessarily all) other cases, the whole of the appropriate address segment or of the identifier should be read.

The access rules may be written to their storing means in various ways, depending (among other things) on the level of security required. For example, a degree of security can be achieved by allowing a learning period when the network is first set up in which the repeater "self-learns" which DTE's are connected to each of its ports and thus sets up its own access rules for each port forbidding the transmission thereafter of any frame with a source address not corresponding with a DTE not connected to that port during the learning period.

More sophisticated rules can be loaded (or self-learned rules can be edited) using data provided as control frames from a network manager, or if the possibility of the network manager being misused or counterfeited needs to be allowed for, from a special input device (a key pad or a mobile memory device, for instance) coupled to the repeater itself and protected from misuse either by password protection or by removing the input device once the access rules have been written. In extreme cases, the means provided in the repeater for coupling the input device could be destroyed after use, or the rules could be inserted as a pre-programmed ROM encapsulated along with key components of the repeater to prevent substitution.

Either one or both of the destination address segment and the source identification segment may be read and compared with the stored access rules, depending on the nature of the rules to be applied. For example, if the physical connections are such that all the DTE's connected to a particular input port (or group of ports) of a repeater have unlimited access to the network, then there is no point in comparing the destination address segments of frames received on that port, and it is only necessary to check the source address segment to verify that the DTE in question is authorized to be connected there. Similarly, if physical security can be relied on to prevent unauthorized connections and all the DTE's connected to a port (of group of ports) have the same (but limited) access to other parts of the network, then only the destination address segment needs to be read and compared.

Subject to the limitations set by comparison time and storage space, each DTE may have its own access rules, independently of all the others, or if the DTE's are organized in groups with common access rules, then it is possible for individual DTE's to be allocated to more than one of the groups; for example, a departmental accountant's terminal could have access to all the other terminals within his department and also to other accountants' terminals outside the department, without the need to give unnecessary access between the remaining terminals of those two groups.

Ideally, all the data contained in an unauthorized frame should be modified, and this presents no problems if the destination address segment shows the frame to be unauthorized; if however it is the source address, the control frame or the frame or protocol identifier segment that shows the frame to be unauthorized, the time taken to make comparisons may be such that a few bytes of data may be retransmitted without modification. If this is considered unacceptable, high-speed comparison algorithms may be used and/or the system protocol may be modified so that there will be an appropriate number of meaningless bytes at the beginning of the data segment.

Data may be modified, when required, by corrupting it, so by overwriting a series of binary digits selected from all 1's, all 0's, cyclically repeated sequences and pseudo-random sequences. The first two require no more complex generating means than a simple logic gate, say a non-exclusive OR gate, receiving the incoming data on one input and a permitted/not permitted flipflop signal on its other input so as to pass the data to output if the flipflop is set "permitted" but a continuous "high" or "low" output if it is set "not permitted".

Cyclically repeated or pseudo-random sequences can be read from memory or generated when required by conventional means.

Data may alternatively be modified by encrypting it in a manner that cannot be decrypted by the DTE's of the network, except possibly one or a few authorized DTE's (for instance the network controller).

If desired, a repeater which detects an unauthorized frame may, in addition to modifying the unauthorized frame, switch off the port on which such a frame was received and/or the port to which the DTE it was addressed to is connected. Preferably the repeater only does so if it knows that the port concerned is not connected to another repeater.

On occasion, an unauthorized person gaining access to a network may not be concerned with transmitting unauthorized data, nor reading data from the network, but to prevent proper functioning of the network. One easy way of so "jamming" a conventional network is to inject into the network a rapid succession of frames that conform to the system protocol, so that any other user seeking to transmit will encounter a "collision". As a precaution against this form of abuse, the repeater in accordance with the invention may additionally be fitted with a timer (or frame counter) device arranged to limit the number of consecutive frames that will be accepted on any one port and to switch off that port if the limit is exceeded.

If desired, the repeater in accordance with the invention may be switchable (e.g. by a local, key-operated switch or by a control frame from a network manager) between secure operation in accordance with the invention and ordinary, insecure, operation; the latter may be desirable, for example, during fault testing and identification.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be further described by way of example with reference to the accompanying drawings in which FIG. 1 is a diagram of a network in accordance with the invention incorporating four multiport repeaters,

FIG. 2 is a block diagram of those parts of a multiport repeater that are relevant to the understanding of the present invention, and

FIG. 3 is a block diagram of an alternative embodiment of the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The network of FIG. 1 comprises 14 items of data termination equipment, DTE 1 to DTE 14 (which ma for example be general purpose personal computers, dedicated word processors, printers, disc drives etc), and a network controller C. Each of these is connected through its own media access unit MAU 1 to MAU 15 to one or other of three multiport repeaters MPR 1, MPR 2 and MPR 3; these are in turn interconnected by the remaining repeater MPR 4.

FIG. 2 shows one module serving ports 1 to 4 of an MPR, the assumption for the purpose of illustration being that there is at least one other module serving further ports, and that the access rules will be the same for all the ports connected to this module.

The most basic conventional function of the MPR is served by the inputs received on any one of ports 1 to 4 passing via respective port interface units 5 and multiplexers 6 and 7 to a first in/first out memory 8. This is inert until enabled by a signal from start of frame detector 9, and then begins to store the incoming data. In the meantime, a preamble generator 10 has begun to output a preamble signal through the multiplexer 11 to all of the port interfaces, which will pass it to their respective ports except in the case of the port receiving the incoming signal. Preamble transmission continues until a counter 12 indicates that the prescribed length of preamble has been outputted. Provided there are then at least 3 bits of data in the memory 8, the multiplexer 11 is switched to begin reading out the data stored in the memory, and in the ordinary way will continue to do so until the complete frame has been received into and then read from the memory 8.

However, in accordance with the invention, the incoming signal is also passed via a shift register 13 which extracts the destination address and the source address in parallel form to latches 14 and 15 which are switched by counters 16 enabled by the start of frame signal from detector 9. These are passed to comparators 17 and compared with the access rules previously stored in a database 18, for example by self-learning on the basis of the identity of equipment connected to the ports of the repeater during an initial learning period; or by writing from one of the following: a network manager; an input device coupled to the repeater (and removing the input device once the access rules have been written)l; or an input device that has password protection.

If the comparators indicate that the frame is not in accordance with the rules contained in the database, then a signal is output via a delay 19 (serving to ensure that the source address will never be corrupted) to the multiplexor 7, and cause it to transmit, for the remainder of the length of the frame, a meaningless sequence of digits (such as all 1's all 0's, a cyclically repeated sequence or a pseudo random sequence) available to it from a sequence generator 20 instead of the incoming signal. Preferably when such a signal is given, data is also transmitted to the network controller C identifying the port on which the frame concerned was received, the destination address and source address of the frame and the reason for the decision that the frame was unauthorized. If desired, this signal may be separated from the system data signals into a separate signaling medium, designated on the diagram as an information bus.

In addition, the repeater port on which the unauthorized frame was received, and/or the repeater port to which the addressed DTE is connected, may be switched off.

Instead of substituting the output of sequence generator 20 for the content of the unautorized frame, the unautorized frame may be modified by encrypting it in a manner that cannot be decrypted by the DTE's of the network, except for the network controller of a security unit. This enables the controller or a security unit to be informed of the content of the modified frame with facility.

The repeater provides in addition conventional facilities for detecting a collision and transmitting jam signals in response to it, for extending signal fragments arising from collisions and for disabling a port on which excessive collisions or frame lengths exceeding the protocol limit are indicative of faulty equipment. The repeater may also include a timer or frame counting device arranged to switch off any port in which a number of consecutive frames exceeding a preset limit is received.

Suppose, by way of example, that DTE's 1 to 5 need to communicate with each other but with none of the other DTEs. DTE's 6 to 9 similarly need access only to each other but DTE 10 needs access not only to DTE 6 to but also DTEs 11 to 14; obviously, all the DTE's need to be in communication with the network controller C. This could be achieved by connecting MAUs 1 to 5 to one module (or to separate modules with the same instructions in their address rule databases) in MPR -, MAU 6 to 9 to one module and MAU 10 to a separate module in MPR 2 and similarly MAUs 11 to 14 to one module and MAU 15 to a second module in MPR 3. In MPR 1, the address database needs to be loaded with rules accepting destination addresses corresponding to the network controller C and to its own DTE's 1 to 5 but no other, and may optionally be loaded with the source addresses of its own DTE's 1-5 in order to reject signals from an additional DTE connected to it without authority. The first module of MPR 2 is correspondingly loaded. The second module of MPR 2, on the other hand, is loaded with rules accepting destination addresses corresponding to MAU's 6 to 9 and 11 to 14 as well as to the network controllers MAU 15 (and if required to accept no source address except that of DTE 10).

The first module of MPR 3 is loaded with rules accepting destination addresses corresponding to any of MAU's 10-15 (and optionally to accept only source addresses corresponding to MAU's 11 to 14); and the second module of MPR 3 is loaded to accept any destination address (and preferably to accept no source address except that of the network controller C).

MPR 4 may, if physical security is reliable, be a conventional MPR without security features; or it may be a repeater in accordance with the invention loaded with analogous rules to provide additional security.

Note that in this example, the network has been so arranged that each destination address and each source address is either accepted or rejected unconditionally. This has the advantage of requiring the shortest processing time, and consequently allowing an unauthorized frame to be modified from as nearly as possible the beginning of its data segment. It is however possible, subject to process time limitations, to provide conditional rules allowing certain destination addresses to be accessed from some but not all of the DTE's connected to the module in question. 

What we claim as our invention is:
 1. A repeater for use in a local area data network for providing communication between a plurality of network connected devices connected to the repeater, which data network receives data frames of preset format, each of which includes at predetermined positions in the frame segments selected from (i) a destination address segment, a source address segment and a control segment and (ii) a destination address segment, a source address segment, a control segment and at least one further segment selected from a frame identifier segment and a protocol identifier segment, the repeater including:means for receiving incoming data frames and for retransmitting them during a time interval that begins before the complete frame of data has been received; means for storing access rules for said network connected devices; means for reading at least one of said segments of each incoming data frame and comparing each segment so read with the stored access rules to determine whether the frame is permitted or not; and means for corrupting the frame in retransmission if the repeater determines that the frame is not permitted.
 2. A repeater as claimed in claim 1 including means for reading and comparing both the said destination address segment and the said source address segment of the incoming frame.
 3. A repeater as claimed in claim 1 in which the said means for corrupting the data frame comprises means for overwriting the data frame with a series of binary digits selected from all 1's, all 0's, cyclically repeated sequences and pseudo-random sequences.
 4. A repeater as claimed in claim 1 in which said access rules are self-learned on the basis of the identity of network connected devices connected to ports of said repeater during an initial learning period.
 5. A repeater as claimed in claim 1 in which the said access rules are written to the repeater by a network manager.
 6. A repeater as claimed in claim 1 in which the said access rules are written to the repeater from an input device coupled to the repeater and removed once the access rules have been written.
 7. A repeater as claimed in claim 1 in which the said access rules are written to the repeater by an input device protected from misuse by password protection.
 8. A repeater as claimed in claim 1 in which, when an unauthorized frame is detected, in addition to the frame being corrupted, at least one port selected from the port on which the frame was received and the port to which addressed network connected devices are connected is switched off.
 9. A repeater as claimed in claim 1 including means for switching off any input port on which a number of consecutive frames in excess of a predetermined limit are received.
 10. A repeater for use in a local area data network for providing communication between a plurality of network connected devices connected to the repeater, which data network receives data frames of present format, each of which includes at predetermined positions in the frame segments selected from (i) a destination address segment, a source address segment and a control segment and (ii) a destination address segment, a source address segment, a control segment and at least one further segment selected from a frame identifier segment and a protocol identifier segment, the repeater including:means for receiving incoming data frames and for retransmitting them during a time interval that begins before the complete frame of data has been received; means for storing access rules for said network connected devices; means for reading at least one of said segments of each incoming data frame and comparing each segment so read with the stored access rules to determine whether the frame is permitted or not; and means for encrypting the frame in retransmission if the repeater determines that the frame is not permitted.
 11. A repeater as claimed in claim 10, including means for reading and comparing both said destination address segment and said source address segment of the incoming frame.
 12. A repeater as claimed in claim 10, in which said access rules are self-learned on the basis of the identity of network connected devices connected to ports of said repeater during an initial learning period.
 13. A repeater as claimed in claim 10 in which said access rules are written to the repeater by a network manager.
 14. A repeater as claimed in claim 10 in which said access rules are written to the repeater from an input device coupled to the repeater and removed once the access rules have been written.
 15. A repeater as claimed in claim 10 in which said access rules are written to the repeater by an input device protected from misuse by password protection.
 16. A repeater as claimed in claim 10 in which, when an unauthorized frame is detected, in addition to the frame being encrypted, at least one port selected from the port on which the frame was received and the port to which addressed network connected devices are connected is switched off.
 17. A repeater as claimed in claim 10 including means for switching off any input port on which a number of consecutive frames in excess of a predetermined limit are received. 